package com.faithbj.dao.impl;

import java.util.Date;

import org.springframework.stereotype.Repository;

import com.faithbj.common.dao.impl.BaseDaoImpl;
import com.faithbj.common.model.DataExportLog;
import com.faithbj.dao.DataExportLogDao;
@Repository("dataExportLogDao")
public class DataExportDaoImpl extends BaseDaoImpl<DataExportLog, String> implements DataExportLogDao{
    @Override
    public Date queryLatestExportTime() {
        String hql = "select max(l.createDate) from DataExportLog as l";
        return (Date) getSession().createQuery(hql).uniqueResult();
    }

}
